package com.heo.music.player.dao;

import com.heo.music.player.entity.MusicComment;
import com.heo.music.player.entity.MusicInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * created on 2024-05-13 16:56
 *
 * @author 星天无极
 **/
public interface MusicCommentDao extends JpaRepository<MusicComment, Integer> {
    Page<MusicComment> findAllByMusicInfo(MusicInfo musicInfo, Pageable pageable);
}
